package com.cnpinxi.domain;

import com.cnpinxi.domain.*;

public class ProductEntity extends com.cnpinxi.domain.Product {

    /**
     * 有效
     */
    public static final Byte PRODUCT_ENTITY_STAUTS_VALID = 1;
    /**
     * 无效
     */
    public static final Byte PRODUCT_ENTITY_STAUTS_UNVALID = 0;
    /**
     * 下架
     */
    public static final Byte PRODUCT_ENTITY_STAUTS_UNSHELVE = 2;





    private Long productEntityId;

    private String productEntityName;

    private String productEntityColour;

    private String productEntityColourCode;

    private Integer productEntityAmount;

    private Integer realPrice;

    private Integer price;
    private Byte status;


    private String productEntityIntroduction;


    public Long getProductEntityId() {
        return productEntityId;
    }

    public void setProductEntityId(Long productEntityId) {
        this.productEntityId = productEntityId;
    }

    public String getProductEntityName() {
        return productEntityName;
    }

    public void setProductEntityName(String productEntityName) {
        this.productEntityName = productEntityName;
    }

    public String getProductEntityColour() {
        return productEntityColour;
    }

    public void setProductEntityColour(String productEntityColour) {
        this.productEntityColour = productEntityColour;
    }

    public String getProductEntityColourCode() {
        return productEntityColourCode;
    }

    public void setProductEntityColourCode(String productEntityColourCode) {
        this.productEntityColourCode = productEntityColourCode;
    }

    public Integer getProductEntityAmount() {
        return productEntityAmount;
    }

    public void setProductEntityAmount(Integer productEntityAmount) {
        this.productEntityAmount = productEntityAmount;
    }

    public Integer getRealPrice() {
        return realPrice;
    }

    public void setRealPrice(Integer realPrice) {
        this.realPrice = realPrice;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }


    public String getProductEntityIntroduction() {
        return productEntityIntroduction;
    }

    public void setProductEntityIntroduction(String productEntityIntroduction) {
        this.productEntityIntroduction = productEntityIntroduction;
    }

    @Override
    public String toString() {
        return "ProductEntity{" +
                "productEntityId=" + productEntityId +
                ", productEntityName='" + productEntityName + '\'' +
                ", productEntityColour='" + productEntityColour + '\'' +
                ", productEntityColourCode='" + productEntityColourCode + '\'' +
                ", productEntityAmount=" + productEntityAmount +
                ", realPrice=" + realPrice +
                ", price=" + price +
                ", status=" + status +
                ", productEntityIntroduction='" + productEntityIntroduction + '\'' +
                '}';
    }
}